var config = require('./config')

/* mps js引用配置 */
var javascripts =  {
	// 提示信息
	"message": 'Js Task Updated Success !',
	// 模块
	"module": {
		// 全局公共Js
	    "common": {
	    	// 合并名
	    	contactName: 'common.js',
	    	// 文件路径
	    	paths: [
			    config.root.src + "js/jquery.js",
			    config.root.src + "js/jquery-ujs.js",
			    config.root.src + "js/jquery.noty.packaged.js",
			    config.root.src + "vendors/bootstrap-table/src/bootstrap-table.js",
			    config.root.src + "vendors/bootstrap-table/dist/locale/bootstrap-table-zh-CN.js",
			    config.root.src + "vendors/pnotify/pnotify.custom.js",
			    config.root.src + "vendors/bootstrap-table/src/extensions/export/bootstrap-table-export.js",
			    config.root.src + "js/jquery.nicescroll.js",
			    config.root.src + "js/common.js",          
			    config.root.src + "vendors/bootstrap/dist/js/bootstrap.js",
			    config.root.src + "vendors/fastclick/lib/fastclick.js",
			    config.root.src + "js/moment/moment_ZH.js",
			    config.root.src + "js/datepicker/daterangepicker.js",
			    config.root.src + "builds/js/custom.js",
			    config.root.src + "vendors/bootstrap/dist/js/bootstrapValidator.js",
			    config.root.src + "vendors/iCheck/icheck.min.js",
			    config.root.src + "js/theme.js",
			    config.root.src + "vendors/echarts/dist/echarts.js",
	    	],
	    	// 文件输出目录
	    	exportPath: config.root.dist + '/js/', 
	    },

	    // 网销专用JS
	    "sales": {
	    	// 合并名
	    	contactName: 'sales.js',
	    	// 文件路径
	    	paths: [
		    	config.root.src + "js/notify.js",
		    	config.root.src + "vendors/pnotify-gentallela/pnotify.js",
		    	config.root.src + "vendors/pnotify-gentallela/pnotify.buttons.js",
		    	config.root.src + "vendors/pnotify-gentallela/pnotify.nonblock.js",
		    	config.root.src + "js/mps/notification.js",
		    	config.root.src + "js/action_cable.js",
	    	],
	    	// 文件输出目录
	    	exportPath: config.root.dist + '/js/',
	    }
	}
};


module.exports = javascripts;